package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.ClinicMenu;
import com.zshan.clinic.database.model.ClinicMenuExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ClinicMenuMapper extends SuperMapper {
    long countByExample(ClinicMenuExample example);

    int deleteByExample(ClinicMenuExample example);

    int deleteByPrimaryKey(Long menuId);

    int insert(ClinicMenu row);

    int insertSelective(ClinicMenu row);

    List<ClinicMenu> selectByExample(ClinicMenuExample example);

    ClinicMenu selectByPrimaryKey(Long menuId);

    int updateByExampleSelective(@Param("row") ClinicMenu row, @Param("example") ClinicMenuExample example);

    int updateByExample(@Param("row") ClinicMenu row, @Param("example") ClinicMenuExample example);

    int updateByPrimaryKeySelective(ClinicMenu row);

    int updateByPrimaryKey(ClinicMenu row);
}